<?php 
if(!empty($seo)){
    $seosuf=!empty($seo['title_suf'])?$seo['title_suf']:'';
    if(!empty($seo['title'])){
        $seotitle=!empty($seo['title_seo'])?$seo['title_seo'].'-':$seo['title'].'-';
    }else{
        $seotitle=!empty($seo['title_seo'])?$seo['title_seo'].'-':'';
    }
  $seokey=!empty($seo['tags'])?$seo['tags']:'';
  $seodes=!empty($seo['intro'])?$seo['intro']:'';
}else{
    $seotitle='';
    $seokey='';
    $seodes='';
}

$suf=$this->db->get_where('configs',array('id'=>4))->row_array();
if(!empty($suf)){
    $suff=$suf['value'];
}else{
    $suff='浙江远川环境工程有限公司';
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="zh-CN" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="keywords" content="<?php echo $seokey;?>" />

<meta name="description" content="<?php echo $seodes;?>" />
<meta name="author" content="杭州博采网络科技股份有限公司-高端网站建设-http://www.bocweb.cn" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php if(!empty($seotitle)):?><?php echo $seotitle;?><?php endif;?><?php echo $suff;?></title>
<link href="<?php echo static_file('web/img/favicon.ico'); ?>" rel="shortcut icon">
<script>
	var STATIC_URL = "<?php echo STATIC_URL ?>";
	var GLOBAL_URL = "<?php echo GLOBAL_URL ?>";
	var UPLOAD_URL = "<?php echo UPLOAD_URL ?>";
	var SITE_URL   = "<?php echo site_url() ?>";
</script>
<?php
	echo static_file('web/css/reset.css');
	echo static_file('jQuery.js');
	echo static_file('jquery.easing.1.3.js');
	echo static_file('jquery.transit.js');
	echo static_file('prefixfree.min.js');
	echo static_file('html5.js');
	echo static_file('bocfe.js');
	echo static_file('plug.preload.js');
	//web
	echo static_file('web/css/style.css');
?>